package com.kgc.scd.service;

import com.kgc.scd.bean.OrderComment;
import com.kgc.scd.bean.OrderItem;
import com.kgc.scd.bean.OrderNotComment;
import com.kgc.scd.util.PageSupport;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Created On : 2022/6/15.
 * <p>
 * Author     : hi
 * <p>
 * Description: OrderItemService
 */

public interface OrderItemService {
    /**
     *查询评论状态
     */
    OrderItem inquireOrderItem(@RequestParam String orderId);

    /**
     *改状态
     */
    void updateItem(OrderItem orderItem);

    /**
     *多表查询商品名
     */
    PageSupport<OrderNotComment> showNoEvaluate(String user,Integer pageSize,Integer pageNo);

    /**
     *多表查询商品名
     */
    PageSupport<OrderComment> showEvaluate(String user, Integer level, Integer time, Integer pageSize, Integer pageNo);
}
